package com.example.permission.entity;

import lombok.Data;

import java.awt.*;
import java.util.Date;
import java.util.List;

@Data
public class Role {
    private Long id;
    private Date createTime;
    private String createUser;
    private Integer status;
    private Date updateTime;
    private String updateUser;
    private Integer version;
    private String description;
    private String name;  // 角色名称

    // 关联菜单列表（一对多）
    private List<Menu> menus;
}